<?php
include "header.html";


$url = ''; 
$text = "";
$qtitle = html_entity_decode($qtitle);
preg_match('/<a href="([\s\S]*)">(.*)<\/a>/i', $qtitle,$tmp);
if (count($tmp) >0) {
  $url  = $tmp[1];
  $text = $tmp[2];  
}

?>
<div class="row" >
<div class="span8" id="category-container">
   <div id="b-container" xmlns:v="http://rdf.data-vocabulary.org/#">
     <ul class="breadcrumb" itemprop="breadcrumb">
       <li class="bcrumb-1" typeof="v:Breadcrumb"><a href="/" title="Home" rel="v:url" property="v:title">Home</a><span class="divider">/</span></li>
       <li class="bcrumb-2" typeof="v:Breadcrumb"><a href="/questions" title="Questions" rel="v:url" property="v:title">Questions</a><span class="divider">/</span></li>
       <li class="bcrumb-3" typeof="v:Breadcrumb">
        <a href="<?php echo $url;?>" title="<?php echo $text;?>" rel="v:url" property="v:title">
          <?php echo $text ;?>
      </a>
    </li>
   </ul>
 </div>
 <br/>
 <dl>
   <dt>
   The Question From: <a href="http://www.gp958.com">Guest</a>
   </dt>
   <dd>
   <?php echo html_entity_decode($qtitle);?>
   <?php echo html_entity_decode($tags); ?>
    <p><?php echo html_entity_decode($qcontent);?></p>
   </dd>
   </dl>
   <br/>
   <h3>Answered</h3>
    <div>
   <?php echo html_entity_decode($answers);?>
    </div>
   <br/>
  <h3>Related</h3>
 <?php  echo html_entity_decode($related); ?>  

</div>
<div class="span2">
  </div>

 </div>
<?php
   include "footer.html";
?>
